package com.smartpro.mis.modular.business.neo4jEntity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author Mengiy
 */

@NodeEntity(label = "N4jUser")
public class N4jUser {

//	@Id
//	@GeneratedValue
	@GraphId
	private Long id;

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	private int userID;
	private List<UserProductRelationship> userProductRelationship;


	public List<UserProductRelationship> getUserProductRelationship() {
		return userProductRelationship;
	}

	public void setUserProductRelationship(List<UserProductRelationship> userProductRelationship) {
		this.userProductRelationship = userProductRelationship;
	}


	public N4jUser() {

	}

	public N4jUser(int userID) {
		this.userID = userID;
	}

	public Long getId() {
		return id;
	}





}